﻿<%@ Page Language="C#" AutoEventWireup="true" CodeFile="login.aspx.cs" Inherits="login" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title></title>
    <script type="text/javascript" language="javascript">
        function refresh_self(obj) {
            obj.src = "createimage.aspx?rand=" + Math.random();
        }
        function refresh_a() {
            var img = document.getElementById("img1");
            img.src = "createimage.aspx?rand=" + Math.random();
        }
    </script>
    </head>
     <style type="text/css">
      #login_content {
            padding:208px 0 0 264px;
        }
        ul {
            text-indent:0;
            padding:0;
            margin:0px;
            display:block;
            height:100px;
        }
        ul li {
            list-style:none;
            margin:0;
            padding:0;
            text-indent:0;
        }
        #submit {
            margin-left:45px;
            margin-top:40px;
            padding:0;
            border:0;
        }
        img {
            border:0;
            margin-top:-10px;
            margin-bottom:-6px;
            margin-left:7px;
        }
       .text{border:1px solid #66838c; height:20px; margin:0 0 21px 0;*+vertical-align:bottom;_vertical-align:middle;}
       .textCheck{border:1px solid #66838c; height:20px; margin:0 0 10px 0;*+vertical-align:bottom;_vertical-align:middle;}
        .begintext {
            color:gray;
            background-color:#f0f8ff;
            border:1px solid #66838c;
             height:20px;
            margin:0 0 21px 0; *+vertical-align:bottom;_vertical-align:middle;
        }

        #Button1{width:83px; background:#024153; color:#fff; font-size:16px;}
         #Button2{width:83px; background:#024153; color:#fff; font-size:16px;} /*background:#00648B;*/
        a {
            text-decoration:none;
        }
            a:hover {
                color:red;
            }
    </style>
<body style=" background-color:#024153">
    <form id="form1" runat="server">
    <div style=" background:url('image/Login.jpg');width:661px;height:431px;padding:0;margin:0 auto;
position:absolute;top:50%;left:50%;margin-top:-215px;margin-left:-330px;">           
            <div id="login_content">
                <ul>
                     <li>
                        <asp:TextBox ID="TextBox1" runat="server" Width="167px" CssClass="text"></asp:TextBox>
                      </li>
                    <li>
                        <asp:TextBox ID="TextBox2" runat="server" TextMode="Password" Width="167px" CssClass="text"></asp:TextBox>
                    </li>
                    <li>
                        <asp:TextBox ID="TextBox3" runat="server" Width="110px" CssClass="textCheck"></asp:TextBox> <img id="img1" alt="验证码" src="createimage.aspx" onclick="refresh_self(this)" style="vertical-align:middle" />
                    </li>
                    <li>
                        <asp:Button ID="Button1" runat="server"  Text="登录" onclick="Button1_Click" />
                        <asp:Button ID="Button2" runat="server"  Text="注册" onclick="Button2_Click" />&nbsp;&nbsp; 
                        <a href="wjmm.aspx" target="_blank">忘记密码？</a>
                    </li>
                </ul>
                   
                </div>
        </div>          
                  
            
                  
    </form>
</body> 
</html>
